package com.jsoft.test;/**
 * @author snkstart
 * @create 2023-02-22 17:51
 */

import com.jsoft.dao.UserDao;
import com.jsoft.dao.impl.UserDaoImpl;
import org.junit.Test;

/**
 *@ClassName testUserLogin
 *@Description TODO
 *@Author jindong
 *@Date 2023/2/22 17:51
 *@Version 1.0
 */

public class testUserLogin {
    private UserDao userDao=new UserDaoImpl();

    @Test
    public void test1(){
        try {
            int i = userDao.loginUser("admin", "admin");
            System.out.println(i);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
